package com.server.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.server.mapper.OsaUserInfoMapper;
import com.server.model.OsaUserInfo;
import com.server.service.IOsaUserInfoService;

@Service
public class OsaUserInfoServiceImpl implements IOsaUserInfoService {
	
	@Autowired
    private OsaUserInfoMapper osaUserInfoMapper;

	@Override
	public Long insert(OsaUserInfo record) {
		// TODO Auto-generated method stub
		return osaUserInfoMapper.insert(record);
	}

	@Override
	public OsaUserInfo selectByPrimaryKey(Long id) {
		// TODO Auto-generated method stub
		return osaUserInfoMapper.selectByPrimaryKey(id);
	}

	@Override
	public List<OsaUserInfo> find(OsaUserInfo osaUserInfo) {
		// TODO Auto-generated method stub
		return osaUserInfoMapper.find(osaUserInfo);
	}

	@Override
	public void updateOsaUserInfo(OsaUserInfo record) {
		// TODO Auto-generated method stub
		osaUserInfoMapper.updateOsaUserInfo(record);
	}

	

}
